package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 房源合同id关联表对象 rent_property_contract
 * 
 * @author ssd
 * @date 2024-04-04
 */
public class SysPropertyContract extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 房源id */
    @Excel(name = "房源id")
    private Long propertyId;

    /** 合同id */
    @Excel(name = "合同id")
    private Long contractId;

    public void setPropertyId(Long propertyId) 
    {
        this.propertyId = propertyId;
    }

    public Long getPropertyId() 
    {
        return propertyId;
    }
    public void setContractId(Long contractId) 
    {
        this.contractId = contractId;
    }

    public Long getContractId() 
    {
        return contractId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("propertyId", getPropertyId())
            .append("contractId", getContractId())
            .toString();
    }
}
